package com.example.dormitorysystem.service;

import com.example.dormitorysystem.entity.Buildings;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吉吉王国组
 * @since 2022-11-26
 */
public interface BuildingsService extends IService<Buildings> {

    //寝室楼信息表   只需要传入token，输出所有的寝室楼id和寝室楼的 名字
    List<Buildings> getBuildingList();


    Buildings getBuildingInfoById(Integer id, HttpServletRequest request);
}
